<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: "",
			}
		},
		onLoad(e) {
			let key = uni.getStorageSync('userKey');
			let time = new Date().getTime();
			let url = "https://zaihuayi.top/index.html#/selectStore/" + e.id + '?key=' + key;
			if (e.latitude && e.longitude) {
				url += '&longitude=' +
					e.longitude + '&latitude=' + e.latitude;
			}
			url += '&v=2022724';
			this.url = url
			console.log(this.url)
		},
		methods: {
			goMey() {
				uni.navigateTo({
					url: "../../newMy/newMy"
				})
			}
		}
	}
</script>

<style>

</style>
